home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Magazine / GraphicsCards / StormMesa / src-glu / Makefile.OpenStep < prev    next >
Makefile  |  1998-12-15  |  2KB  |  77 lines

  1. # Makefile for GLU for OpenStep
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  3.0
  5. # Copyright (C) 1995-1998  Brian Paul
  6. #
  7. # This library is free software; you can redistribute it and/or
  8. # modify it under the terms of the GNU Library General Public
  9. # License as published by the Free Software Foundation; either
  10. # version 2 of the License, or (at your option) any later version.
  11. #
  12. # This library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. # Library General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Library General Public
  18. # License along with this library; if not, write to the Free
  19. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21.  
  22. # $Log: Makefile.OpenStep,v $
  23. # Revision 1.1  1998/06/01 01:05:04  brianp
  24. # Initial revision
  25. #
  26.  
  27.  
  28.  
  29. ##### MACROS #####
  30.  
  31. VPATH = RCS
  32.  
  33. INCDIR = ../include
  34. LIBDIR = ../lib
  35.  
  36. SOURCES = glu.c mipmap.c nurbs.c nurbscrv.c nurbssrf.c nurbsutl.c \
  37.     project.c quadric.c tess.c tesselat.c polytest.c
  38.  
  39. OBJECTS = $(SOURCES:.c=.o)
  40.  
  41.  
  42.  
  43. ##### RULES #####
  44.  
  45. .c.o:
  46.     $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  47.  
  48.  
  49.  
  50. ##### TARGETS #####
  51.  
  52. default:
  53.     @echo "Specify a target configuration"
  54.  
  55. clean:
  56.     -rm *.o *~
  57.  
  58. targets: $(LIBDIR)/$(GLU_LIB)
  59.  
  60. # Make the library:
  61. $(LIBDIR)/$(GLU_LIB): $(OBJECTS)
  62.     $(MAKELIB) $(GLU_LIB) $(MAJOR) $(MINOR) $(OBJECTS)
  63.     mv $(GLU_LIB) $(LIBDIR)
  64.  
  65. include ../Make-config
  66.  
  67. include depend
  68.  
  69.  
  70.  
  71. #
  72. # Run 'make depend' to update the dependencies if you change what's included
  73. # by any source file.
  74. dep: $(SOURCES)
  75.     makedepend -fdepend -Y -I../include $(SOURCES)
  76.